package edu.school.service.impl;

import edu.school.entity.Admin;
import edu.school.mapper.AdminMapper;
import edu.school.service.AdminService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @author kabuda
 * @create 2023-10-01 9:58
 */
@Service
public class AdminServiceImpl implements AdminService {

    @Autowired
    private AdminMapper adminMapper;
    @Override
    public Admin login(Admin admin) {
        Admin a = adminMapper.findAdmin(admin);
        return a;
    }
}
